package com.ygxsk.carhome.ui.adapter;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.ygxsk.carhome.response.BookingPayFeeOutsideBean;

import java.math.BigDecimal;
import java.util.List;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-10-11  15:15
 * @Description:喷涂预约的支付页面适配器
 */
public class BookingPayFeeOutsideAdapter extends BaseQuickAdapter<BookingPayFeeOutsideBean, BaseViewHolder> {


    public BookingPayFeeOutsideAdapter(int layoutResId, @Nullable List<BookingPayFeeOutsideBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, BookingPayFeeOutsideBean bookingPayFeeOutsideBean) {


        if (bookingPayFeeOutsideBean != null) {

            //房间号信息等；
            String roomName = bookingPayFeeOutsideBean.getRoomName();

            //价格等
            BigDecimal bigDecimal = bookingPayFeeOutsideBean.getPrice();

            //内部的小列表


        }

    }


}
